<?php
/**
{
    "FCacheId": "INT //",
    "FTime": "DATETIME //",
    "FUpdateTime": "DATETIME //",
    "FReason": "VARCHAR //",
    "FText": "VARCHAR //",
    "FEnName": "VARCHAR //",
    "FHitTimes": "BIGINT //",
    "FMissTimes": "BIGINT //",
    "FLifeTime": "INT //",
    "FSqlKey": "VARCHAR //",
    "FSql": "VARCHAR //"
}
 */

class MyCache extends Base
{
    
	private $FCacheId= '';//
	private $FTime= '';//
	private $FUpdateTime= '';//
	private $FReason= '';//
	private $FText= '';//
	private $FEnName= '';//
	private $FHitTimes= "0";//
	private $FMissTimes= "0";//
	private $FLifeTime= "0";//
	private $FSqlKey= '';//
	private $FSql= '';//

    public $isDbData = false;

    public function __construct()
    {
        parent::__construct();
    }


    public function __get($name) {
        return $this->$name;
    }

    public function __set($name, $value) {
        if(!$this->isDbData){
            if(!in_array($name,$this->loadedFiled))$this->loadedFiled[] = $name;
        }

        $this->$name=$value;
        $this->arr[$name] = $value;
    }

    public  function table()
    {
        return 'tbl_my_cache';
    }
    
    public  function key(){
        return 'FCacheId';
    }


    
    public static  function hideField()
    {
        return [];
    }
            
    public static  function skipField()
    {
        return [];
    }
            
    public static  function noViewField()
    {
        return [];
    }
            
    public static  function jsonField()
    {
        return [];
    }
            
    public static  function noLoadField()
    {
        return [];
    }
            
    public static  function deleteField()
    {
        return [];
    }
            
    public function className()
    {
        return 'MyCache';
    }
    
    public  function field()
    {
        return array (  'FCacheId' =>   array (    0 => 'INT',    1 => 11,    2 => '',  ),  'FTime' =>   array (    0 => 'DATETIME',    1 => 0,    2 => '',  ),  'FUpdateTime' =>   array (    0 => 'DATETIME',    1 => 0,    2 => '',  ),  'FReason' =>   array (    0 => 'VARCHAR',    1 => 255,    2 => '',  ),  'FText' =>   array (    0 => 'VARCHAR',    1 => 1024,    2 => '',  ),  'FEnName' =>   array (    0 => 'VARCHAR',    1 => 120,    2 => '',  ),  'FHitTimes' =>   array (    0 => 'BIGINT',    1 => 20,    2 => '',  ),  'FMissTimes' =>   array (    0 => 'BIGINT',    1 => 20,    2 => '',  ),  'FLifeTime' =>   array (    0 => 'INT',    1 => 10,    2 => '',  ),  'FSqlKey' =>   array (    0 => 'VARCHAR',    1 => 32,    2 => '',  ),  'FSql' =>   array (    0 => 'VARCHAR',    1 => 512,    2 => '',  ),);
    }


}